﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WeSMsg.model
{
    public class MsgResultStatus
    {
       public static int STATUS_VALID_TOKEN_CODE = 0;
       public static string STATUS_VALID_TOKEN_TEXT = "Ok";

       public static int STATUS_INVALID_EMAIL_CODE = STATUS_VALID_TOKEN_CODE + 1;
       public static string STATUS_INVALID_EMAIL_TEXT = "Invalid email";

       public static int STATUS_OUT_DEQUEUE_CODE = STATUS_INVALID_EMAIL_CODE + 1;
       public static string STATUS_OUT_DEQUEUE_TEXT = "Out of email for dequeue";

       public static int STATUS_UNALLOW_IP_CODE = STATUS_OUT_DEQUEUE_CODE + 1;
       public static string STATUS_UNALLOW_IP_TEXT = "The remote IP {0} is not allowed to use this service";

      
       public int statusCode { get; set; }
       public string statusText { get; set; }

    
    }
}